﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminPage.master" AutoEventWireup="true" CodeFile="AddNewBranch.aspx.cs" Inherits="AddNewBranch" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="style3" align="center" >
        <tr>
            <td colspan="4" style="background-image: url(bg_head.png); height: 30px" 
                class="style3">

                <asp:Label ID="Label1" runat="server" ForeColor="White" Text="Add New Branch" 
                    Font-Bold="True" ></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style6" style="width: 12%">
                &nbsp;</td>
            <td class="style6">
                City Name</td>
            <td>
                <asp:DropDownList ID="DropDownList1" runat="server" 
                    DataSourceID="SqlDataSource1" DataTextField="CityName" 
                    DataValueField="CityID" Width="140px">
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:OPOConnectionString %>" 
                    SelectCommand="SELECT * FROM [City]"></asp:SqlDataSource>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style6" style="width: 12%">
                &nbsp;</td>
            <td class="style6">
                Branch Name</td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server" Width="140px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="TextBox1" ErrorMessage="RequiredFieldValidator" 
                    Font-Bold="True" ForeColor="Red" style="font-weight: 700">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style6" style="width: 12%">
                &nbsp;</td>
            <td class="style6">
                Branch Address</td>
            <td>
                <asp:TextBox ID="TextBox2" runat="server" Height="63px" TextMode="MultiLine" 
                    Width="140px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="TextBox2" ErrorMessage="RequiredFieldValidator" 
                    ForeColor="Red">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style6" style="width: 12%">
                &nbsp;</td>
            <td class="style6">
                Branch Phone</td>
            <td>
                <asp:TextBox ID="TextBox3" runat="server" Width="140px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ControlToValidate="TextBox3" ErrorMessage="RequiredFieldValidator" 
                    ForeColor="Red">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style6" style="width: 12%">
                &nbsp;</td>
            <td class="style6">
                Branch Email</td>
            <td>
                <asp:TextBox ID="TextBox4" runat="server" Width="140px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="TextBox4" ErrorMessage="RequiredFieldValidator" 
                    ForeColor="Red">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style6" style="width: 12%">
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
              </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style3" style="width: 12%">
                &nbsp;</td>
            <td class="style5" colspan="2">
                <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Add.png" />
                <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/Reset.png" />
                <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/Cancel.png" />
            </td>
            <td class="style3">
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>

